import type { VabRouteRecordRaw } from '../types'
import Layout from '/@vab/layouts/index.vue'
const corpIndexRouter: VabRouteRecordRaw[] = [
  {
    path: '/corp',
    name: 'Corp',
    component: Layout,
    authName: 'Corp.all',
    meta: {
      title: '公司信息管理',
      icon: 'bar-chart-grouped-line',
      breadcrumbHidden: true,
      levelHidden: true,
      authShow: true
    },
    children: [
      {
        path: 'index',
        name: 'CorpIndex',
        authName: 'CorpIndex.all',
        component: () =>
          import('/@/views/corpIndex/index.vue'),
        meta: {
          title: '公司信息管理',
          icon: 'bar-chart-grouped-line',
          authShow: true
        },
      },
    ],
  },
]

export default corpIndexRouter
